}
.login-dialog-user-list-item {
- color: #666666;
border-radius: 10px;
padding: .2em;
}
padding-left: 1em;
}
+.login-dialog-user-list:expanded .login-dialog-user-list-item {
+ color: #666666;
+}
+
+.login-dialog-user-list-item,
.login-dialog-user-list-item:hover .login-dialog-user-list-item-name,
.login-dialog-user-list:expanded .login-dialog-user-list-item:focus .login-dialog-user-list-item-name,
.login-dialog-user-list:expanded .login-dialog-user-list-item:logged-in {
_showItem: function(item) {
let tasks = [function() {
return GdmUtil.fadeInActor(item.actor);
- },
-
- function() {
- return item.fadeInName();
}];
let batch = new Batch.ConsecutiveBatch(this, tasks);
{ y_fill: false,
y_align: St.Align.START });
- let mainContentBox = new St.BoxLayout({ vertical: false });
- this.contentLayout.add(mainContentBox,
+ this._userList = new UserList();
+ this.contentLayout.add(this._userList.actor,
{ expand: true,
x_fill: true,
- y_fill: false });
-
- this._userList = new UserList();
- mainContentBox.add(this._userList.actor,
- { expand: true,
- x_fill: true,
- y_fill: true });
+ y_fill: true });
this.setInitialKeyFocus(this._userList.actor);
this._promptBox = new St.BoxLayout({ style_class: 'login-dialog-prompt-layout',
vertical: true });
- mainContentBox.add(this._promptBox,
- { expand: true,
- x_fill: true,
- y_fill: true,
- x_align: St.Align.START });
+ this.contentLayout.add(this._promptBox,
+ { expand: true,
+ x_fill: true,
+ y_fill: true,
+ x_align: St.Align.START });
this._promptLabel = new St.Label({ style_class: 'login-dialog-prompt-label' });
- this._mainContentBox = mainContentBox;
-
this._promptBox.add(this._promptLabel,
{ expand: true,
x_fill: true,
return this._userList.giveUpWhitespace();
},
- function() {
- return activatedItem.fadeOutName();
- },
-
new Batch.ConcurrentBatch(this, [this._fadeOutTitleLabel,
this._fadeOutNotListedButton,
this._fadeOutLogo]),
},
_onOpened: function() {
- Main.ctrlAltTabManager.addGroup(this._mainContentBox,
+ Main.ctrlAltTabManager.addGroup(this.contentLayout,
_("Login Window"),
'dialog-password',
{ sortGroup: CtrlAltTab.SortGroup.MIDDLE });